﻿/// Copyright © 2013 Microsoft Corporation. 
/// This project is released under the Microsoft Public License (MS-PL)
///
namespace DataMorph.Processing
{
    using Microsoft.WindowsAzure.Storage.Queue;

    public class FileProcessedMessage
    {
        private CloudQueueMessage messageReference;

        public FileProcessedMessage()
        {
        }

        public FileProcessedMessage(string fileId, double processingTimeInSeconds)
        {
            this.FileId = fileId;
            this.ProcessingTimeInSeconds = processingTimeInSeconds;
        }

        public string StorageAccount { get; set; }

        public string DataSetName { get; set; }

        public string FileId { get; set; }

        public double ProcessingTimeInSeconds { get; set; }

        public void SetMessageReference(CloudQueueMessage cloudQueueMessage)
        {
            this.messageReference = cloudQueueMessage;
        }

        public CloudQueueMessage GetMessageReference()
        {
            return this.messageReference;
        }
    }
}